//package com.cn.ycy.controller;
//
//import com.ycy.dubbo.provider.TimeService;
//import org.apache.dubbo.config.annotation.DubboReference;
//import org.springframework.stereotype.Controller;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.ResponseBody;
//
//@Controller
//public class HelloWordController {
//
//  @DubboReference(version = "1.0.0")
//  TimeService timeService;
//
//  @RequestMapping(value = "/dubbo/helloword")
//  @ResponseBody
//  public String test1() {
//    String threadName = timeService.getThreadName();
//    System.out.println(threadName);
//    return threadName;
//  }
//
//}
